#{extends 'main.html' /} #{set title:'createTopic.html' /}
<!-- This method takes the name of the user's new topic and creates a new topic.
@author Rana Amr
@param name -->
<body>
	<br>
	<br>
	<br>
	<br>
	<br>
	<form action="@{Topics.createNewTopic()}" method="POST">
		Topic Name*: <br>
		<span style="color: #c00" class="error">#{error 'name' /}</span><br>
		<textarea name="name"></textarea>
		<input type="submit" value="Create New Topic" /> <br /> <br />
	</form>
</body>